package org.jradweb.jradtest.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Model class Customer.
 * 
 * Created on Thu Apr 10 17:28:40 CST 2008
 * @author Code Generator
 * @version $Id: Customer.java 93 2008-04-10 09:36:30Z wagzhi $
 */
@Entity
@Table(name="jradtest_customer")
public class Customer implements java.io.Serializable{
	
	private int id;
	private Date createdAt=new Date();
	private Date updatedAt=new Date();
	
	@Id @GeneratedValue(strategy=GenerationType.AUTO)
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	@Column(name="created_at")
	public Date getCreatedAt() {
		return createdAt;
	}
	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}
	
	@Column(name="updated_at")
	public Date getUpdatedAt() {
		return updatedAt;
	}
	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}
}
